package com.yq.cp.entity.permission.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yq.cp.entity.common.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zh
 * @since 2022-09-21
 */
@Data
public class UserDto extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String username;

    private String password;

    private String phone;

    private String nickname;
    private String headPortrait;

    private String mailbox;

    /** 10-总平台超级管理员,20-机构超级管理员,30-用户 */
    private Integer type;

    private String roleId;
    private String roleName;


    private String weChatName;
    private String weChatHeadPortrait;
    /**
     * 登录时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date loginTime;

    /**状态:0-正常,1-停用*/
    private Integer state;

    /**
     * 自我介绍
     * */
    private String introduce;
    /**
     * 地区名称
     * */
    private String regionName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private Long number;

    /**
     * 充值记录数量
     */
    private Long rechargeNums;

    /**
     * 赠送记录数量
     */
    private Long giftsNums;
    /**
     * 合集数量
     */
    private Long folderNums;

    /**
     * 获赞数量
     */
    private Long hzNums;


    /**
     * 金豆数量
     */
    private BigDecimal jdye;
}
